package cn.janus.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 自定义枚举状态码的类：存放整个工程中所有的内部状态码和提示消息.
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum StatusCode {
    OPERATION_SUCCESS(1001, "成功"),
    OPERATION_FAIL(1002, "失败");
    private Integer code;
    private String msg;
}








